package com.skjd.mapper;

import com.skjd.entity.XSequenceSequenceModel;
import com.skjd.entity.Page;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/** 
 * <p>Description: [自定义递增Mapper]</p>
 * Created on 2019年03月21日
 * @author  <a href="mailto: 625413127@qq.com">王涛</a>
 * @version 1.0 
 * Copyright (c) 2019 省客驾到  
 */
public interface XSequenceSequenceMapper{
	
	/**
	* 分页查询固定参数
	*/
	List<XSequenceSequenceModel> queryPageXSequenceSequence(@Param("page")Page page, @Param("entity")XSequenceSequenceModel entity, @Param("queryFields")List queryFields);
	
	
	/**
	* 查询固定参数
	*/
	List<XSequenceSequenceModel> queryListXSequenceSequence(@Param("entity")XSequenceSequenceModel entity, @Param("queryFields")List queryFields);
	
	
	/**
	* 查询总数量
	*/
	Long queryCountXSequenceSequence(@Param("entity")XSequenceSequenceModel entity);
	
	/**
	* 查询单个实体
	*/
	XSequenceSequenceModel queryXSequenceSequenceById(@Param("entity")XSequenceSequenceModel entity,  @Param("queryFields")List queryFields);
	
	/**
	* <!-- 新增 -->
	*/
	int addXSequenceSequence(XSequenceSequenceModel entity);
	
	/**
	* <!-- 修改 -->
	*/
	int updateXSequenceSequence(XSequenceSequenceModel entity);
	
	/**
	* <!-- 批量删除 -->
	*/
	int removeXSequenceSequenceByIds(List code);
	
	/**
	* <!-- 删除 -->
	*/
	int removeXSequenceSequenceById(@Param("id")String id);
	
	
}
